/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package compilador.analisador;

/**
 *
 * @author Deivide
 */
public class Token {
    
    private String token;
    private EnumTypeToken type;
    private Integer line_num;
    
    public Token() {}
    
    public Token(String token, EnumTypeToken type, Integer line_num) {
        this.token = token;
        this.type = type;
        this.line_num = line_num;
    }
    
    public String getToken() {
        return this.token;
    }
    
    public void setToken(String token) {
        this.token = token;
    }
    
    public EnumTypeToken getType() {
        return this.type;
    }
    
    public void setType(EnumTypeToken type) {
        this.type = type;
    }
    
    public Integer getLineNum() {
        return this.line_num;
    }
    
    public void setLineNum(Integer line_num) {
        this.line_num = line_num;
    }
}
